package model;

import java.sql.Timestamp;

/**
 * TAdmin entity. @author MyEclipse Persistence Tools
 */

public class TAdmin implements java.io.Serializable {

	// Fields

	private String userid;
	private Integer roleId;
	private String userstatus;
	private String password;
	private String realname;
	private Integer admintype;
	private String mobile;
	private Timestamp createtime;
	private Integer loginstatus;
	private Timestamp lastlogindate;
	private Integer photoid;
	private String note;

	// Constructors

	/** default constructor */
	public TAdmin() {
	}

	/** minimal constructor */
	public TAdmin(String userid, Integer roleId, String userstatus,
			String password, String realname, String mobile) {
		this.userid = userid;
		this.roleId = roleId;
		this.userstatus = userstatus;
		this.password = password;
		this.realname = realname;
		this.mobile = mobile;
	}

	/** full constructor */
	public TAdmin(String userid, Integer roleId, String userstatus,
			String password, String realname, Integer admintype, String mobile,
			Timestamp createtime, Integer loginstatus, Timestamp lastlogindate,
			Integer photoid, String note) {
		this.userid = userid;
		this.roleId = roleId;
		this.userstatus = userstatus;
		this.password = password;
		this.realname = realname;
		this.admintype = admintype;
		this.mobile = mobile;
		this.createtime = createtime;
		this.loginstatus = loginstatus;
		this.lastlogindate = lastlogindate;
		this.photoid = photoid;
		this.note = note;
	}

	// Property accessors

	public String getUserid() {
		return this.userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public Integer getRoleId() {
		return this.roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getUserstatus() {
		return this.userstatus;
	}

	public void setUserstatus(String userstatus) {
		this.userstatus = userstatus;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRealname() {
		return this.realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public Integer getAdmintype() {
		return this.admintype;
	}

	public void setAdmintype(Integer admintype) {
		this.admintype = admintype;
	}

	public String getMobile() {
		return this.mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

	public Integer getLoginstatus() {
		return this.loginstatus;
	}

	public void setLoginstatus(Integer loginstatus) {
		this.loginstatus = loginstatus;
	}

	public Timestamp getLastlogindate() {
		return this.lastlogindate;
	}

	public void setLastlogindate(Timestamp lastlogindate) {
		this.lastlogindate = lastlogindate;
	}

	public Integer getPhotoid() {
		return this.photoid;
	}

	public void setPhotoid(Integer photoid) {
		this.photoid = photoid;
	}

	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}

}